﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace Sealight.Core.Domain
{
  public  class ProductAttributeEntity:BaseEntity
    {
        /// <summary>
        /// Gets or sets the product attribute identifier
        /// </summary>
        public virtual Guid ProductAttributeID { get; set; }

        /// <summary>
        /// Gets or sets the name
        /// </summary>
        public virtual string Name { get; set; }

        /// <summary>
        /// Gets or sets the description
        /// </summary>
        public virtual string Description { get; set; }

        public virtual Sealight.Core.DataAdapter.product_attribute ToDataAdapter()
        {
            return new DataAdapter.product_attribute {id=this.ProductAttributeID, name=this.Name, description=this.Description };
        }
    }
}
